package cn.zqy.demo.day06;

public class Demo02Phone {
    public static void main(String[] args) {
        Phone phone = new Phone();
        System.out.println(phone.brand);
        System.out.println(phone.price);
        System.out.println(phone.color);
        System.out.println("================");


        phone.brand = "苹果";
        phone.price = 8388.0;
        phone.color = "red";
        System.out.println(phone.brand);
        System.out.println(phone.price);
        System.out.println(phone.color);
        System.out.println("================");

        phone.call("悉达多");
        phone.sendMessage();
    }
}
